import { http } from "/@/utils/http";

/** 查询工艺列表 */
export const getListApi = (params) => {
  return http.request<YTableRemoteResult>("get", "/api/mes/craft/list", { params });
};

/* 查询单个 */
export const getApi = (id) => {
  return http.request("get", "/api/mes/craft/" + id);

}

/** 修改工艺 */
export const updateApi = (data) => {
  return http.request("put", "/api/mes/craft", { data });
};
